package com.grad.why.studentsystem.mapper;

import com.grad.why.studentsystem.domain.Runningheadcamerainfos;
import com.grad.why.studentsystem.domain.RunningheadcamerainfosExample;
import com.grad.why.studentsystem.domain.current.CurrentHeadInfos;
import com.grad.why.studentsystem.domain.current.CurrentRuntimeHeadInfos;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RunningheadcamerainfosMapper {
    int countByExample(RunningheadcamerainfosExample example);

    int deleteByExample(RunningheadcamerainfosExample example);

    int deleteByPrimaryKey(Integer headcameraid);

    int insert(Runningheadcamerainfos record);

    int insertSelective(Runningheadcamerainfos record);

    List<Runningheadcamerainfos> selectByExample(RunningheadcamerainfosExample example);

    Runningheadcamerainfos selectByPrimaryKey(Integer headcameraid);

    int updateByExampleSelective(@Param("record") Runningheadcamerainfos record, @Param("example") RunningheadcamerainfosExample example);

    int updateByExample(@Param("record") Runningheadcamerainfos record, @Param("example") RunningheadcamerainfosExample example);

    int updateByPrimaryKeySelective(Runningheadcamerainfos record);

    int updateByPrimaryKey(Runningheadcamerainfos record);

    List<CurrentRuntimeHeadInfos> getRuntimeHeadInfos(@Param("offset") int offset, @Param("limit") int limit, @Param("search") String search);

    long getRuntimeHeadInfosLength(@Param("search") String search);
}